package com.aaa.service.impl;

import com.aaa.entity.Report;
import com.aaa.mapper.FoulMapper;
import com.aaa.mapper.ReportMapper;
import com.aaa.service.ReportService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


/**
 * @ClassName: MenuService
 * @Description: TODO
 * @Author: 86139
 * @Date: 2021/9/3 22:08
 * @Version:1.0
 **/
@Service
@Slf4j
public class ReportServiceImpl extends ServiceImpl<ReportMapper, Report> implements ReportService {

    @Autowired
    ReportMapper reportMapper;
    public List<Map<String,Object>> SelectAll(){
        return reportMapper.SelectAll();
    };

    public int update(Integer reid){
        return reportMapper.update(reid);
    }

}
